package com.jarvis.zeng.design.pattern.filter.demo;

public class Person {
    private String name;
    private String gender;
    private String marritalStatus;

    public Person() {
    }

    public Person(String name, String gender, String marritalStatus) {
        this.name = name;
        this.gender = gender;
        this.marritalStatus = marritalStatus;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getMarritalStatus() {
        return marritalStatus;
    }

    public void setMarritalStatus(String marritalStatus) {
        this.marritalStatus = marritalStatus;
    }


    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", marritalStatus='" + marritalStatus + '\'' +
                '}';
    }
}
